#include "GameServerInfo.h"

GameServerInfo::GameServerInfo()
	:m_id(0),
	m_count(0),
	m_name(""),
	m_ip(""),
    m_port(0)
{
	//ctor
}

GameServerInfo::~GameServerInfo()
{
	//dtor
}

GameServerInfo::GameServerInfo(const GameServerInfo& other)
	:m_id(other.m_id),
	m_count(other.m_count),
	m_name(other.m_name),
	m_ip(other.m_ip),
    m_port(other.m_port)
{
	Debug::Log("!!!!!!!!!!!");
}

bool GameServerInfo::IsCanLogin()
{
	return (m_count < MAX_CONNECT);
}
